

const state = {
  search: {
    carData: {},
    show: false,
  },
  DataScope: {
    region :undefined ,
    options :[]
  }
}

const mutations = {
  SET_SEARCH: (state, {carData, show}) => {
    state.search = {
      carData,
      show
    }
  },
  SET_DATASCOPE: (state, {region,options}) => {
    state.DataScope = {
      region,
      options
    }
  }
}

const actions = {
  
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
